package com.topideal.supplychain.hades.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class AppController {

    @RequestMapping(value = {"/", "/index"})
    public String index() {
        return "index";
    }

    @RequestMapping(value = "/404")
    public String four04() {
        return "error/404";
    }

    @RequestMapping(value = "/500")
    public String five00() {
        return "error/500";
    }
}
